home *** CD-ROM | disk | FTP | other *** search
/ SOHO - Exploring the Sun - 2003 Update / SOHO - Exploring the Sun - 2003 Update.iso / pc / data / main.dcr / scripts_9.ls < prev    next >
Encoding:
Text File  |  2003-02-25  |  1.5 KB  |  57 lines

  1. on exitFrame
  2.   global nappi_sprite, dire, min_duration
  3.   if dire = 1 then
  4.     set the directToStage of member the member of sprite 110 to 1
  5.     set the directToStage of member "sml_sun" to 1
  6.     set dire to 0
  7.   end if
  8.   LiveRollOver(103, 103)
  9.   if SpriteExists(110) > 0 then
  10.     if the duration of the member of sprite 110 > min_duration then
  11.       LiveRollOver(110, 80, 0)
  12.     end if
  13.   end if
  14.   DefCurs()
  15.   if the puppet of sprite nappi_sprite = 0 then
  16.     set the puppet of sprite nappi_sprite to 1
  17.   end if
  18.   set us to 0
  19.   if rollOver(80) and (SpriteExists(110) > 0) then
  20.     set the locV of sprite nappi_sprite to 156
  21.     set us to 1
  22.   end if
  23.   if rollOver(81) then
  24.     set the locV of sprite nappi_sprite to the locV of sprite 81 + 15
  25.     set us to 1
  26.     RollEarth(91)
  27.   end if
  28.   if rollOver(82) then
  29.     set the locV of sprite nappi_sprite to the locV of sprite 82 + 15
  30.     set us to 1
  31.     RollEarth(92)
  32.   end if
  33.   if rollOver(83) then
  34.     set the locV of sprite nappi_sprite to the locV of sprite 83 + 15
  35.     set us to 1
  36.     RollEarth(93)
  37.   end if
  38.   if rollOver(84) then
  39.     set the locV of sprite nappi_sprite to the locV of sprite 84 + 15
  40.     set us to 1
  41.     RollEarth(94)
  42.   end if
  43.   if rollOver(85) then
  44.     set the locV of sprite nappi_sprite to the locV of sprite 85 + 15
  45.     set us to 1
  46.     RollEarth(95)
  47.   end if
  48.   if us = 1 then
  49.     set the locH of sprite nappi_sprite to 460
  50.   else
  51.     if the locV of sprite nappi_sprite < 480 then
  52.       set the locV of sprite nappi_sprite to 490
  53.     end if
  54.   end if
  55.   go(the frame)
  56. end
  57.